Skip to content
This repository has been archived by the owner on Nov 29, 2021. It is now read-only.

Fix regex of gvmcg titles for get_performance command #413

Merged
merged 2 commits into from
Jun 14, 2021

Conversation

ArnoStiefvater
Copy link
Member

What:

Fix regex of gvmcg titles for get_performance command

Why:

To get expected behavior.

How:

gvm-cli --protocol OSP socket --socketpath=/run/ospd/openvas.sock --xml "<get_performance start='0' titles='interface-eth0-err'/>"

You will get status_text="Arguments not allowed" before applied PR. After you will probably get No such file or directory: 'gvmcg': 'gvmcg' but thats fine and expected if you do not have it installed.

Checklist:

Use `.*` instead of `*`. `*` matches 0 or more.
`.*` matches 0 or more of any char.
@ArnoStiefvater ArnoStiefvater added backport-to-stable This pull request will be backported to the stable branch backport-to-main This pull request will be backported to the master branch labels Jun 14, 2021
@ArnoStiefvater ArnoStiefvater requested a review from a team June 14, 2021 14:40
@Kraemii Kraemii merged commit bfe1052 into greenbone:ospd-20.08 Jun 14, 2021
Kraemii added a commit that referenced this pull request Jun 14, 2021
Fix regex of gvmcg titles for get_performance command (backport #413)
Kraemii added a commit that referenced this pull request Jun 14, 2021
Fix regex of gvmcg titles for get_performance command (backport #413)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
backport-to-main This pull request will be backported to the master branch backport-to-stable This pull request will be backported to the stable branch
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants